package com.chenl.provider.DEMOS.Spring.Spring参数解析器;

import com.chenl.provider.DTO.UserInfo;
import com.chenl.provider.DTO.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/reslover")
public class ResloverController {
    @GetMapping("/test")
    public Result<Object> testReslover(@CurrentUser UserInfo userInfo){
        System.out.println("我来咯");
        return new Result<>(userInfo);
    }
}
